﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Persistencia.Interfaces
{
    public class UltimoId
    {
        long valor;

        internal UltimoId()
        {
        }


        public long Valor
        {
            get
            {
                lock (this)
                {
                    return valor;
                }
            }

            set
            {
                lock (this)
                {
                    valor = value;
                }
            }
        }
    }
}

